package com.iran.builder;

public class Test {
    public static void main(String[] args) {
        Director director = new Director();
        BuildA buildA = new BuildA();
        BuildB buildB = new BuildB();
        director.construct(buildA);
        Product result = buildA.getResult();
        result.show();
        director.construct(buildB);
        Product result1 = buildB.getResult();
        result1.show();


    }
}
